/*
 * @Descripttion:
 * @version:
 * @Date: 2021-04-20 11:06:21
 * @LastEditors: huzhushan@126.com
 * @LastEditTime: 2021-04-21 09:36:55
 * @Author: huzhushan@126.com
 * @HomePage: https://huzhushan.gitee.io/vue3-element-admin
 * @Github: https://github.com/huzhushan/vue3-element-admin
 * @Donate: https://huzhushan.gitee.io/vue3-element-admin/donate/
 */
import request from '@/utils/request'

const base_api='/admin/product/category'
// 导出方法
// 登录接口
export const FindCategoryByParentId   = (id) => {
        return request({
          url: `${base_api}/findCateGoryList/${id}`,
          method: 'get'
          
        })
      }

      // 导出方法
export const ExportCategoryData = () => {
        return request({
          url: `${base_api}/exportData`,
          method: 'get',
          responseType: 'blob'  // // 这里指定响应类型为blob类型,二进制数据类型，用于表示大量的二进制数据
        })
      }